package BLL;

import java.util.Scanner;

import exer.gaga;

public class xiugaihuiyuan {
	public static void xiugai(){
		int[]userId=gaga.initUserIdArray();
		int[]userAge=gaga.initUserAgeArray();
		int[]userJifen=gaga.initUserJifenArray();
		Scanner scanner=new Scanner(System.in);
		System.out.println("请输入会员编号");
		int Id=scanner.nextInt();
		for (int i = 0; i < userId.length; i++) {
			if (userId[i]==Id) {
				System.out.println(Id+"号会员的年龄是 "+userAge[i]);
				System.out.println("请输入会员的年龄");
				userAge[i]=scanner.nextInt();
				System.out.println("修改成功");
				break;
	}

	}

}
}